#include "HumbleCore_Win32DLLManager.h"

Win32_DLLManager::Win32_DLLManager() : Humble_DLLManager()
{
	m_hDllInstance = NULL;
}


bool Win32_DLLManager::openLib(size_t strSize, char* filename)
{

        // Load DLL file
        m_hDllInstance  = LoadLibrary(TEXT(filename));
        if (m_hDllInstance == NULL) {
                return false;
        }
		m_bLibOpened = true;
		return true;
}


bool Win32_DLLManager::isLibLoaded(size_t strSize, char* filename)
{
	return m_bLibOpened;
}
